const routes = [
  {
    path: '/login',
    title: '登录',
    component: '@/pages/login/index',
  },
  {
    path: '/',
    component: '@/layouts/index',
    title: '',
    wrappers: ['@/layouts/wrapper'],
    routes: [
      {
        title: '记事本',
        path: 'note',
        routes: [
          {
            title: '待划拨积分',
            path: '/note/integral',
            component: '@/pages/note',
          },
          {
            path: '/note/details',
            title: '明细',
            component: '@/pages/note/note_dl',
          },
          {
            path: '/note/proportion',
            title: '设置比例',
            component: '@/pages/note/proportion',
          },
        ],
      },
      {
        title: 'practice',
        path: '/practice',
        component: '@/pages/practice',
      },
    ],
  },
];

export default routes;
